de.unihalle.informatik.MiToBo.core.datatypes
Class MTBPolygon2DException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.unihalle.informatik.MiToBo.core.datatypes.MTBPolygon2DException
All Implemented Interfaces:
java.io.Serializable

public class MTBPolygon2DException
extends java.lang.Exception

Exception handling for Polygon2D object.

Author:
Danny Misiak
See Also:
MTBPolygon2D, Serialized Form

Field Summary
private  java.lang.String error
          Exception error message.
 
Constructor Summary
MTBPolygon2DException()
          Standardconstructor.
MTBPolygon2DException(java.lang.String msg)
          Constructor for new MTBPolygon2DException with specific message output.
 
Method Summary
 java.lang.String getError()
          Returns the complete exception message as string.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

error

private java.lang.String error
Exception error message.

Constructor Detail

MTBPolygon2DException

public MTBPolygon2DException()
Standardconstructor.


MTBPolygon2DException

public MTBPolygon2DException(java.lang.String msg)
Constructor for new MTBPolygon2DException with specific message output.

Parameters:
msg - exception message
Method Detail

getError

public java.lang.String getError()
Returns the complete exception message as string.

Returns:
Exception message.