|
|
|
@ -51,7 +51,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|
|
|
|
|
|
|
|
|
enum hsErrorEnum { |
|
|
|
|
kNo_hsError, |
|
|
|
|
kBadAlloc_hsError, |
|
|
|
|
kNilParam_hsError, |
|
|
|
|
kBadParam_hsError, |
|
|
|
|
kInternal_hsError, |
|
|
|
@ -68,11 +67,6 @@ public:
|
|
|
|
|
hsException(hsErrorEnum error, long param = 0) : fError(error), fParam(param) {} |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
class hsBadAllocException : public hsException { |
|
|
|
|
public: |
|
|
|
|
hsBadAllocException() : hsException(kBadAlloc_hsError) {} |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
class hsNilParamException : public hsException { |
|
|
|
|
public: |
|
|
|
|
hsNilParamException() : hsException(kNilParam_hsError) {} |
|
|
|
|