Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
joram
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
joram
joram
Commits
bb4518d6
Commit
bb4518d6
authored
Sep 18, 2020
by
Andre Freyssinet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Javadoc enhancements.
parent
df659c93
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
319 additions
and
319 deletions
+319
-319
joram/joram/shared/src/main/java/org/objectweb/joram/shared/excepts/AccessException.java
...a/org/objectweb/joram/shared/excepts/AccessException.java
+44
-44
joram/joram/shared/src/main/java/org/objectweb/joram/shared/excepts/DestinationException.java
.../objectweb/joram/shared/excepts/DestinationException.java
+45
-45
joram/joram/shared/src/main/java/org/objectweb/joram/shared/excepts/MessageValueException.java
...objectweb/joram/shared/excepts/MessageValueException.java
+44
-44
joram/joram/shared/src/main/java/org/objectweb/joram/shared/excepts/MomException.java
...java/org/objectweb/joram/shared/excepts/MomException.java
+54
-54
joram/joram/shared/src/main/java/org/objectweb/joram/shared/excepts/RequestException.java
.../org/objectweb/joram/shared/excepts/RequestException.java
+44
-44
joram/joram/shared/src/main/java/org/objectweb/joram/shared/excepts/SelectorException.java
...org/objectweb/joram/shared/excepts/SelectorException.java
+44
-44
joram/joram/shared/src/main/java/org/objectweb/joram/shared/excepts/StateException.java
...va/org/objectweb/joram/shared/excepts/StateException.java
+44
-44
No files found.
joram/joram/shared/src/main/java/org/objectweb/joram/shared/excepts/AccessException.java
View file @
bb4518d6
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2001 - 20
06 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Initial developer(s): ScalAgent Distributed Technologies
* Contributor(s):
*/
package
org.objectweb.joram.shared.excepts
;
import
org.objectweb.joram.shared.client.MomExceptionReply
;
/**
* An <code>AccessException</code> is thrown by a destination when processing
* a request of a client which does not have valid rights for this request.
*/
public
class
AccessException
extends
MomException
{
/**
*
*/
private
static
final
long
serialVersionUID
=
1L
;
/**
*
Constructs an <code>AccessException</code> instance.
*/
public
AccessException
(
String
info
)
{
super
(
info
);
type
=
MomExceptionReply
.
AccessException
;
}
}
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2001 - 20
20 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Initial developer(s): ScalAgent Distributed Technologies
* Contributor(s):
*/
package
org.objectweb.joram.shared.excepts
;
import
org.objectweb.joram.shared.client.MomExceptionReply
;
/**
* An <code>AccessException</code> is thrown by a destination when processing
* a request of a client which does not have valid rights for this request.
*/
public
class
AccessException
extends
MomException
{
/**
define serialVersionUID for interoperability */
private
static
final
long
serialVersionUID
=
1L
;
/**
* Constructs an <code>AccessException</code> instance.
*
*
@param info Information.
*/
public
AccessException
(
String
info
)
{
super
(
info
);
type
=
MomExceptionReply
.
AccessException
;
}
}
joram/joram/shared/src/main/java/org/objectweb/joram/shared/excepts/DestinationException.java
View file @
bb4518d6
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2001 - 20
06 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Initial developer(s): ScalAgent Distributed Technologies
* Contributor(s):
*/
package
org.objectweb.joram.shared.excepts
;
import
org.objectweb.joram.shared.client.MomExceptionReply
;
/**
* A <code>DestinationException</code> is thrown by a destination while
* deleting if requesters are still active, and in a proxy method when trying
* to access a non existing destination.
*/
public
class
DestinationException
extends
MomException
{
/**
*
*/
private
static
final
long
serialVersionUID
=
1L
;
/**
*
Constructs a <code>DestinationException</code> instance.
*/
public
DestinationException
(
String
info
)
{
super
(
info
);
type
=
MomExceptionReply
.
DestinationException
;
}
}
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2001 - 20
20 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Initial developer(s): ScalAgent Distributed Technologies
* Contributor(s):
*/
package
org.objectweb.joram.shared.excepts
;
import
org.objectweb.joram.shared.client.MomExceptionReply
;
/**
* A <code>DestinationException</code> is thrown by a destination while
* deleting if requesters are still active, and in a proxy method when trying
* to access a non existing destination.
*/
public
class
DestinationException
extends
MomException
{
/**
define serialVersionUID for interoperability */
private
static
final
long
serialVersionUID
=
1L
;
/**
* Constructs a <code>DestinationException</code> instance.
*
*
@param info Information.
*/
public
DestinationException
(
String
info
)
{
super
(
info
);
type
=
MomExceptionReply
.
DestinationException
;
}
}
joram/joram/shared/src/main/java/org/objectweb/joram/shared/excepts/MessageValueException.java
View file @
bb4518d6
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2001 - 20
11 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Initial developer(s): ScalAgent Distributed Technologies
* Contributor(s):
*/
package
org.objectweb.joram.shared.excepts
;
import
org.objectweb.joram.shared.client.MomExceptionReply
;
/**
* A <code>MessageValueException</code> is thrown when a value carried by a
* message is incorrectly accessed or typed.
*/
public
class
MessageValueException
extends
MomException
{
/**
*
*/
private
static
final
long
serialVersionUID
=
1L
;
/**
*
Constructs a <code>MessageValueException</code> instance.
*/
public
MessageValueException
(
String
info
)
{
super
(
info
);
type
=
MomExceptionReply
.
MessageValueException
;
}
}
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2001 - 20
20 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Initial developer(s): ScalAgent Distributed Technologies
* Contributor(s):
*/
package
org.objectweb.joram.shared.excepts
;
import
org.objectweb.joram.shared.client.MomExceptionReply
;
/**
* A <code>MessageValueException</code> is thrown when a value carried by a
* message is incorrectly accessed or typed.
*/
public
class
MessageValueException
extends
MomException
{
/**
define serialVersionUID for interoperability */
private
static
final
long
serialVersionUID
=
1L
;
/**
* Constructs a <code>MessageValueException</code> instance.
*
*
@param info Information.
*/
public
MessageValueException
(
String
info
)
{
super
(
info
);
type
=
MomExceptionReply
.
MessageValueException
;
}
}
joram/joram/shared/src/main/java/org/objectweb/joram/shared/excepts/MomException.java
View file @
bb4518d6
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2001 - 20
06 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Initial developer(s): ScalAgent Distributed Technologies
* Contributor(s):
*/
package
org.objectweb.joram.shared.excepts
;
import
org.objectweb.joram.shared.client.MomExceptionReply
;
/**
* The <code>MomException</code> class is the exception class thrown by the
* MOM actors.
*/
public
class
MomException
extends
Exception
{
/**
*
*/
private
static
final
long
serialVersionUID
=
1L
;
p
rotected
int
type
;
public
MomException
(
int
type
,
String
info
)
{
super
(
info
);
this
.
type
=
type
;
}
/**
*
Constructs a <code>MomException</code> containing a given description.
*/
public
MomException
(
String
info
)
{
super
(
info
);
type
=
MomExceptionReply
.
MomException
;
}
public
int
getType
()
{
return
type
;
}
}
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2001 - 20
20 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Initial developer(s): ScalAgent Distributed Technologies
* Contributor(s):
*/
package
org.objectweb.joram.shared.excepts
;
import
org.objectweb.joram.shared.client.MomExceptionReply
;
/**
* The <code>MomException</code> class is the exception class thrown by the
* MOM actors.
*/
public
class
MomException
extends
Exception
{
/**
define serialVersionUID for interoperability */
private
static
final
long
serialVersionUID
=
1L
;
protected
int
type
;
p
ublic
MomException
(
int
type
,
String
info
)
{
super
(
info
);
this
.
type
=
type
;
}
/**
* Constructs a <code>MomException</code> containing a given description.
*
*
@param info Information.
*/
public
MomException
(
String
info
)
{
super
(
info
);
type
=
MomExceptionReply
.
MomException
;
}
public
int
getType
()
{
return
type
;
}
}
joram/joram/shared/src/main/java/org/objectweb/joram/shared/excepts/RequestException.java
View file @
bb4518d6
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2001 - 20
06 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Initial developer(s): ScalAgent Distributed Technologies
* Contributor(s):
*/
package
org.objectweb.joram.shared.excepts
;
import
org.objectweb.joram.shared.client.MomExceptionReply
;
/**
* A <code>RequestException</code> is thrown by a destination or a proxy when
* processing an invalid client request.
*/
public
class
RequestException
extends
MomException
{
/**
*
*/
private
static
final
long
serialVersionUID
=
1L
;
/**
*
Constructs a <code>RequestException</code> instance.
*/
public
RequestException
(
String
info
)
{
super
(
info
);
type
=
MomExceptionReply
.
RequestException
;
}
}
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2001 - 20
20 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Initial developer(s): ScalAgent Distributed Technologies
* Contributor(s):
*/
package
org.objectweb.joram.shared.excepts
;
import
org.objectweb.joram.shared.client.MomExceptionReply
;
/**
* A <code>RequestException</code> is thrown by a destination or a proxy when
* processing an invalid client request.
*/
public
class
RequestException
extends
MomException
{
/**
define serialVersionUID for interoperability */
private
static
final
long
serialVersionUID
=
1L
;
/**
* Constructs a <code>RequestException</code> instance.
*
*
@param info Information.
*/
public
RequestException
(
String
info
)
{
super
(
info
);
type
=
MomExceptionReply
.
RequestException
;
}
}
joram/joram/shared/src/main/java/org/objectweb/joram/shared/excepts/SelectorException.java
View file @
bb4518d6
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2001 - 20
06 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Initial developer(s): ScalAgent Distributed Technologies
* Contributor(s):
*/
package
org.objectweb.joram.shared.excepts
;
import
org.objectweb.joram.shared.client.MomExceptionReply
;
/**
* A <code>SelectorException</code> is thrown when an error occurs while
* parsing a selector expression.
*/
public
class
SelectorException
extends
MomException
{
/**
*
*/
private
static
final
long
serialVersionUID
=
1L
;
/**
*
Constructs a <code>SelectorException</code> instance.
*/
public
SelectorException
(
String
info
)
{
super
(
info
);
type
=
MomExceptionReply
.
SelectorException
;
}
}
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2001 - 20
20 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Initial developer(s): ScalAgent Distributed Technologies
* Contributor(s):
*/
package
org.objectweb.joram.shared.excepts
;
import
org.objectweb.joram.shared.client.MomExceptionReply
;
/**
* A <code>SelectorException</code> is thrown when an error occurs while
* parsing a selector expression.
*/
public
class
SelectorException
extends
MomException
{
/**
define serialVersionUID for interoperability */
private
static
final
long
serialVersionUID
=
1L
;
/**
* Constructs a <code>SelectorException</code> instance.
*
*
@param info Information.
*/
public
SelectorException
(
String
info
)
{
super
(
info
);
type
=
MomExceptionReply
.
SelectorException
;
}
}
joram/joram/shared/src/main/java/org/objectweb/joram/shared/excepts/StateException.java
View file @
bb4518d6
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2001 - 20
06 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Initial developer(s): ScalAgent Distributed Technologies
* Contributor(s):
*/
package
org.objectweb.joram.shared.excepts
;
import
org.objectweb.joram.shared.client.MomExceptionReply
;
/**
* A <code>StateException</code> is thrown by a destination or a proxy when
* processing a request in an invalid state.
*/
public
class
StateException
extends
MomException
{
/**
*
*/
private
static
final
long
serialVersionUID
=
1L
;
/**
*
Constructs a <code>Statexception</code> instance.
*/
public
StateException
(
String
info
)
{
super
(
info
);