com.ptc.wgmecad.exception
Class WGMException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ptc.wgmecad.exception.WGMException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ApplicationInvocationException, BadEPMDocException, BadlyFormattedNumericTypeException, BoardSameAsAssemblyNumException, BOMFileBadFormatException, CancelledException, ComponentAlreadyRegisteredException, ComponentNotRegisteredException, DesignAlreadyCheckedOutException, DesignInWindchillException, DesignNotCheckedOutException, DesignNotInWindchillException, DesignPartsInSameWorkspaceException, DesignPartsNotInSameWorkspaceException, ECADPropertiesMissingException, EmptyVectorException, InvalidArgumentException, InvalidDesignZipException, MissingAssemblyException, MissingAttributeException, MissingLocationException, NoCPMFileFoundException, ObjectNotRegisteredWithWGMProgMonException, PrimaryVariantNotMatchingAsmNumException, ProjectDirectoryMacroInMidPathException, ProjectLocationException, UnableToGetDataFromServerException, UnableToWriteFileException, UnexpectedArgumentException, UnexpectedFilesInVariantDir, VariantFileBadFormatException, WGMEmbeddedException, WindchillServerNotSpecifiedException, XMLCompWithNoRefdesException, zipFileCreationInterruptedException

public abstract class WGMException
extends Exception

See Also:
Serialized Form

Field Summary
private static int maxMsgLineLength
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
WGMException()
           
 
Method Summary
static String breakStringIntoLines(String msg, int maxmsglinelength)
           
abstract  String getLocalizedMessage()
           
private  String getMessageAndLineWrapIt()
           
 boolean goBack()
           
 boolean goForward()
           
 void showErrorDialog()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

maxMsgLineLength

private static final int maxMsgLineLength
See Also:
Constant Field Values
Constructor Detail

WGMException

public WGMException()
Method Detail

goBack

public boolean goBack()

goForward

public boolean goForward()

showErrorDialog

public void showErrorDialog()

getMessageAndLineWrapIt

private String getMessageAndLineWrapIt()

breakStringIntoLines

public static String breakStringIntoLines(String msg,
                                          int maxmsglinelength)

getLocalizedMessage

public abstract String getLocalizedMessage()