Class NoSuchRealmException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NoSuchRealmException
    extends ClassWorldException
    Indicates an attempt to retrieve a ClassRealm from a ClassWorld with an invalid id.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String id
      The realm id.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getId()
      Retrieve the invalid realm id.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • id

        private java.lang.String id
        The realm id.
    • Constructor Detail

      • NoSuchRealmException

        public NoSuchRealmException​(ClassWorld world,
                                    java.lang.String id)
        Construct.
        Parameters:
        world - The world.
        id - The realm id.
    • Method Detail

      • getId

        public java.lang.String getId()
        Retrieve the invalid realm id.
        Returns:
        The id.