Exception
class Exception extends Exception (View source)
Exception thrown while inspecting an offline package.
Constants
| ERRORCODE_DIRECTORYNOTFOUND | 
                     Error code for exceptions thrown when a directory could not be found.  | 
            
| ERRORCODE_FILENOTFOUND | 
                     Error code for exceptions thrown when a file could not be found.  | 
            
| ERRORCODE_FILENOTREADABLE | 
                     Error code for exceptions thrown when a file could not be read.  | 
            
| ERRORCODE_BADPARAM | 
                     Error code for exceptions thrown when a function parameter contains an invalid value.  | 
            
| ERRORCODE_MULTIPLEPARSERSFOUND | 
                     Error code for exceptions thrown when the inspector detects multiple parsers for the same package.  | 
            
| ERRORCODE_CONTROLLERCLASS_NOT_FOUND | 
                     Error code for exceptions thrown when the package controller class couldn't be found.  | 
            
| ERRORCODE_MISSING_OPENCURLY | 
                     Error code for exceptions thrown when there's a missing required open curly bracket ('{').  | 
            
| ERRORCODE_MISSING_CLOSECURLY | 
                     Error code for exceptions thrown when there's a missing required close curly bracket ('}').  | 
            
| ERRORCODE_MISSING_CLASSNAME | 
                     Error code for exceptions thrown when a class misses its name.  | 
            
| ERRORCODE_MULTIPLE_CONTROLLECLASSES | 
                     Error code for exceptions thrown when multiple package controller classes are detected.  | 
            
| ERRORCODE_MISSING_NAMESPACENAME | 
                     Error code for exceptions thrown when a namespace name is missing.  | 
            
| ERRORCODE_INVALID_NAMESPACENAME | 
                     Error code for exceptions thrown when an namespace name is not valid.  | 
            
| ERRORCODE_MISSING_PACKAGEHANDLE_PROPERTY | 
                     Error code for exceptions thrown when a package controller class is missing the package handle property.  | 
            
| ERRORCODE_MISMATCH_PACKAGEHANDLE | 
                     Error code for exceptions thrown when the handle derived from the controller fully-qualified class name differs from the value of the package handle property.  | 
            
| ERRORCODE_INVALID_PACKAGEHANDLE | 
                     Error code for exceptions thrown when the package handle contains invalid characters.  | 
            
| ERRORCODE_MISSIMG_SEMICOLON | 
                     Error code for exceptions thrown when there's a missing required semicolor (';').  | 
            
| ERRORCODE_UNSUPPORTED_TOKENVALUE | 
                     Error code for exceptions thrown when a PHP token value isn't supported.  | 
            
| ERRORCODE_INVALID_STRING_TOKEN | 
                     Error code for exceptions thrown when a PHP string token is not valid.  | 
            
| ERRORCODE_MISSING_PACKAGEVERSION_PROPERTY | 
                     Error code for exceptions thrown when a package controller class is missing the package version property.  | 
            
| ERRORCODE_INVALID_PACKAGEVERSION | 
                     Error code for exceptions thrown when the package handle is malformed.  | 
            
| ERRORCODE_MISSING_PACKAGENAME | 
                     Error code for exceptions thrown when the package does not define its name.  | 
            
| ERRORCODE_MISSING_METHOD_BODY | 
                     Error code for exceptions thrown when a method don't have a body.  | 
            
| ERRORCODE_METHOD_TOO_COMPLEX | 
                     Error code for exceptions thrown when a method is too complex to be resolved.  | 
            
| ERRORCODE_UNSUPPORTED_PROPERTYVALUE | 
                     Error code for exceptions thrown when a property value is of an unsupported type.  | 
            
Properties
| protected mixed | $exceptionData | The contextual data associated to the exception.  | 
                
Methods
Create a new instance of this class.
Get the contextual data associated to the exception.
Details
        
                static            
    create(int $code, string $message, mixed $exceptionData = null)
        
    
    Create a new instance of this class.
        
                            mixed
    getExceptionData()
        
    
    Get the contextual data associated to the exception.