diff options
Diffstat (limited to 'java/src/main/java/com/google/protobuf/ServiceException.java')
-rw-r--r-- | java/src/main/java/com/google/protobuf/ServiceException.java | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/java/src/main/java/com/google/protobuf/ServiceException.java b/java/src/main/java/com/google/protobuf/ServiceException.java index 00d5707..c043a77 100644 --- a/java/src/main/java/com/google/protobuf/ServiceException.java +++ b/java/src/main/java/com/google/protobuf/ServiceException.java @@ -1,6 +1,6 @@ // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ +// http://code.google.com/p/protobuf/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are @@ -35,18 +35,10 @@ package com.google.protobuf; * * @author cpovirk@google.com (Chris Povirk) */ -public class ServiceException extends Exception { +public final class ServiceException extends Exception { private static final long serialVersionUID = -1219262335729891920L; public ServiceException(final String message) { super(message); } - - public ServiceException(final Throwable cause) { - super(cause); - } - - public ServiceException(final String message, final Throwable cause) { - super(message, cause); - } } |